﻿using System;
using System.Windows.Input;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Windows;
using HTR.Model;
using MvvmFoundation.Wpf;
using System.Windows;

namespace HTR.ViewModels
{
    public class PpalViewModel : ObservableObject
    {

        #region Propiedades

        public ICommand AbrirBocaRegistroViewCmd
        {
            get { return new RelayCommand(this.AbrirBocaRegistroView); }
        }

        private bool _visibility = false;
        public bool BRVisibility
        {
            get { return _visibility; }
            set { _visibility = value; RaisePropertyChanged("BRVisibility"); }
        }

        #endregion // Propiedades


        #region Metodos

        public void AbrirBocaRegistroView()
        {
            BRVisibility = !BRVisibility;
        }

        public void CerrarAplicacion()
        {
            // Not yet implemented
        }

        #endregion // Metodos

    }
}
